package com.hqyj.system.service;

import com.hqyj.system.model.Role;

import java.util.List;

public interface RoleService {
    List<Role> queryAllRole();

    int addRoleByRole(Role role);

    int deleteRoleByRoleId(int roleId);

    Role queryRoleByRoleId(int roleId);

    int updateRoleByRole(Role role);

    Role query_xz_roleByUserId(int userId);

    List<Role> queryRoleByUserId(int userId);
}
